import request from '@/utils/request';

/**
 * 保存表单信息
 * @param data
 * @returns {*}
 */
export function saveSurvery(data) {
  return request({
  url: '/surveryData/saveSurveryFormData',
  method: 'POST',
  data
})
}

export function list(data) {
  return request({
    url: '/surveryData/list',
    method: 'get',
    params:data
  })
}

export function confirmFormDataDel(data){
  return request({
    url: '/surveryData/confirmFormDataDel',
    method: 'POST',
    data
  })
}


export function confirmFormDataDelAll(data){
  return request({
    url: '/surveryData/confirmFormDataDelAll',
    method: 'POST',
    data
  })
}


export function getHotelList(data){
  return request({
    url: '/surveryData/hotelList',
    method: 'POST',
    data
  })
  
}